﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Request for quotation</title>
    <link href="App_Themes/StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div class="main">
        <h1>Request for quotation</h1>
        <form id="form" runat="server">
            <div>
                <fieldset>
                    <legend><b>Request (product)</b></legend>
                    <table>
                        <tr>
                            <td colspan="2">
                                <asp:Image ID="Image" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Amount:
                            </td>
                            <td>
                                <asp:Literal ID="litAantal" runat="server"></asp:Literal>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Description:
                            </td>
                            <td>
                                <asp:Literal ID="litOmschrijving" runat="server"></asp:Literal>
                            </td>
                        </tr>
                    </table>
                </fieldset>
                <fieldset>
                    <legend><b>Quotation</b></legend>
                    <table>
                        <tr>
                            <td>
                                Piece price:</td>
                            <td>
                                <asp:TextBox ID="txtPrijsPerStuk" runat="server" Width="99px" 
                                    CssClass="txtNumber"></asp:TextBox>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                    ControlToValidate="txtPrijsPerStuk" ErrorMessage="Not a valid price" 
                                    ValidationExpression="(\d{1,3},?)+\.?\d*"></asp:RegularExpressionValidator>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                    ControlToValidate="txtPrijsPerStuk" ErrorMessage="Price can not be empty"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Remark:</td>
                            <td>
                                <asp:TextBox ID="txtOpmerking" runat="server" Height="152px" TextMode="MultiLine" 
                                    Width="344px"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                    <asp:Button ID="btnSave" runat="server" Text="Save" onclick="btnSave_Click" />
                </fieldset>
            </div>
        </form>
    </div>
</body>
</html>
